package com.cqjtu.store.favorite.pojo.dao;

import com.cqjtu.store.common.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

import javax.validation.constraints.NotNull;

/**
 * @ProjectName: cqjtu-store
 * @Titile: FavoritePageDTO
 * @Author: Lucky
 * @Description: 收藏分页DTO
 */
@Data
@ApiModel("收藏分页DTO")
public class FavoritePageDTO extends PageDTO {
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id",name = "userId",example = "1",required = true)
    private Integer userId;
}
